make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 9 Mar 2025 09:54:43 +0000 (10:54 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 9 Mar 2025 09:54:43 +0000 (10:54 +0100)
commitf7adb7e5e69ca448eed99e6ee957cde7542aedcc
tree30dbf19619764b03303d747a54a6343e1995622a
parentd602bbb33bcb1dd672f9bba4617b8d5e7f13df28
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c